<template>
  <component :is="type" v-model="value" v-bind="$attrs"></component>
</template>

<script>
export default {
  name: 'base-datepicker',
  data() {
    let type = this.$attrs.type || 'a-date-picker'
    return {
      value: undefined,
      type
    }
  },
  mounted() {},
  methods: {}
}
</script>
